package deliciouse.entity;

import java.sql.Date;

public class Users {
	private String userName;
	private String password;
	private int admin;


	public Users(String userName, String password, int admin, Date lastLoginTime) {
		super();
		this.userName = userName;
		this.password = password;
		this.admin = admin;
		LastLoginTime = lastLoginTime;
	}

	public int getIsAdmin() {
		return admin;
	}

	public void setIsAdmin(int admin) {
		this.admin = admin;
	}

	private Date LastLoginTime;
	
	public Users(){
		
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getLastLoginTime() {
		return LastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		LastLoginTime = lastLoginTime;
	}

	public Users(String userName, String password, Date lastLoginTime) {
		super();
		this.userName = userName;
		this.password = password;
		LastLoginTime = lastLoginTime;
	}

	public Users(String userName, String password) {
		super();
		this.userName = userName;
		this.password = password;
		
	}
}
